package com.zzzy.sys.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 角色和菜单关联表
 *
 * @author fc
 * @since 2024-04-22
 */
@Getter
@Setter
@TableName("sys_role_menu")
@Schema(name = "RoleMenu", description = "角色和菜单关联表")
public class RoleMenu {

    @Schema(description = "角色ID")
    @TableField("role_id")
    private Long roleId;

    @Schema(description = "菜单ID")
    @TableField("menu_id")
    private Long menuId;
}
